package com.dududu.xiaoxueqi;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SearchContentRepository extends JpaRepository<SearchContent, Long> {
    List<SearchContent> findByTitleContainingOrDescriptionContaining(String title, String description);
}
